//
// Double.cpp for  in /home/lund/Projets/abstract-vm/vmtmp
// 
// Made by florian dewulf
// Login   <dewulf_f@epitech.net>
// 
// Started on  Mon Feb 18 11:02:55 2013 florian dewulf
// Last update Tue Feb 19 21:39:17 2013 kevin lansel
//

#include	"Double.hpp"

Double::Double(const double &value, const std::string &str) : AOperand(value, str), _value(value)
{
}

Double::Double(const Double &other) : _value(other.getValue())
{
}

Double::~Double()
{
}

Double		&Double::operator=(const Double &other)
{
  this->_value = other.getValue();
  return (*this);
}

double		Double::getSize() const
{
  return (this->_value);
}

void		Double::setSize(const double &size)
{
  this->_value = size;
}

eOperandType	Double::getType() const
{
  return (DOUBLE);
}
